﻿@model Productos_Electrodomesticos.Models.Producto

@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/_ProductoLayout.cshtml";
}

<h2>Detalles</h2>

<table class="table table-hover">
    <legend>Producto</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Nombre)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Nombre)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Modelo)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Modelo)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Precio)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Precio)
    </div>
    <div class="display-label">
         @Html.DisplayNameFor(model => model.Descripcion)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Descripcion)
    </div>
    <div class="display-field">
     <img src="@Url.Content("~/Content/productos/" + @Model.Id + ".jpg")" height="300" width="300"/>
    </div>
</table>

